package com.model;

import java.io.Serializable;

public class Message  implements Serializable{
	private int id;
	private String time;
	private String content;
	private String name;
	private String title;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Message(int id, String time, String content, String name, String title) {
		super();
		this.id = id;
		this.time = time;
		this.content = content;
		this.name = name;
		this.title = title;
	}
	public Message(String time, String content, String name, String title) {
		super();
		this.time = time;
		this.content = content;
		this.name = name;
		this.title = title;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public Message() {
		super();
	}
	@Override
	public String toString() {
		return "Message [id=" + id + ", time=" + time + ", content=" + content + ", name=" + name + ", title=" + title
				+ "]";
	}
	
}
